// samsting : this file is auto create.

#ifndef ALIYUN_Emr_ListJobsResponse_H_
#define ALIYUN_Emr_ListJobsResponse_H_

#include "core/acs_response.h"

namespace aliyun { namespace Emr {

class ListJobsResponse : public AcsResponse {
public:
  ListJobsResponse();

  class JobInfo {
    friend class ListJobsResponse;
  public:
    int64 GetJobId(void) const;
    const string& GetJobName(void) const;
    int  GetJobType(void) const;
    const string& GetEnvConfig(void) const;
    int  GetJobFailAct(void) const;
  private:
    int64  JobId_;
    string JobName_;
    int    JobType_;
    string EnvConfig_;
    int    JobFailAct_;
  }; // JobInfo 

  const std::vector<JobInfo>& GetJobs(void) const;
  int  GetTotalCount(void) const;
  int  GetPageNumber(void) const;
  int  GetPageSize(void) const;

private:
  std::vector<JobInfo> Jobs_;
  int    TotalCount_;
  int    PageNumber_;
  int    PageSize_;

protected:
  const char* BaseKey(void);
  void         UnmarshallerMap(std::map<string, string>& response_map);

};

} } // namespace aliyun { namespace Emr {

#endif // #ifndef ALIYUN_Emr_ListJobsResponse_H_

// end of file 
